Programming With QuickTime VR 2.1

Previous | Overview | Contents | Next

Panorama-Imaging Atom Structure

A panorama-imaging atom describes the default imaging characteristics for all the panoramic nodes in a scene. In addition, if contained in a node atom, a panorama-imaging atom contains default settings for a particular panoramic node (which override the scene-wide defaults). The structure of a panorama-imaging atom is defined by the VRPanoImagingAtom data type:

typedef struct VRPanoImagingAtom {
    UInt16                              majorVersion;
    UInt16                              minorVersion;
    UInt32                              imagingMode;
    UInt32                              imagingValidFlags;
    UInt32                              correction;
    UInt32                              quality;
    UInt32                              directDraw;
    UInt32                              imagingProperties[6];
    UInt32                              reserved1;
    UInt32                              reserved2;
} VRPanoImagingAtom, *VRPanoImagingAtomPtr;
majorVersion
The major version number of the file format.
minorVersion
The minor version number of the file format.
imagingMode
The imaging mode to which the default values apply. See "Imaging Modes" for a description of the available imaging modes. A VR world can contain more than one panorama-imaging atom if static and motion modes are assigned different default values for any imaging properties.
imagingValidFlags
A set of flags that indicate which imaging property fields in this structure are valid. See "Imaging Property Valid Flags" for a description of the available flags.
correction
The default correction mode for panoramic nodes. See "Correction Modes" for a description of the available correction modes.
quality
The default imaging quality for panoramic nodes. See "Quality Properties" for a description of the available imaging qualities.
directDraw
The default direct draw property for panoramic nodes. See "Imaging Property Types" for a description of the available direct draw property values.
imagingProperties
Reserved for future panorama-imaging properties.
reserved1
Reserved. This field must be 0.
reserved2
Reserved. This field must be 0.

© 1997 Apple Computer, Inc.

Previous | Overview | Contents | Next